package com.atguigu.guli.service.edu.fegin;

import com.atguigu.guli.service.edu.fegin.impl.OssEduFeginImpl;
import com.atguigu.guli.service.result.R;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "service-oss",fallback = OssEduFeginImpl.class)
@Component
public interface OssEduFegin {

    @DeleteMapping("/admin/oss/file/del")
     R del(@RequestParam("path") String path, @RequestParam("model") String model);
}
